syntax error removal