Fix syntax error and requirements