repair an error synax