fix some bug add syntax error