protected function fixAuthorSetupParameters(array $params)
    {
        if (!isset($params['author'])) {
            $params['author'] = null;
        }
        if (preg_match('/(.*) <(.+)>/', $params['author'], $m)) {
            $params['author'] = $m[1];
            $params['author-email'] = $m[2];
        } else {
            $params['author-email'] = null;
        }

        return $params;
    }