fix the syntax error cause by ";"