fixed a error about continue