cleanup syntax error