Fix syntax error in author model