Fix compiling bug about semicolon