Fix syntax error with perform