resolved some syntax error