corrects syntax error