syntax error patch