Repair syntax error