removing syntactic error