removing syntactic bugs