Bug fixed

add continue to aviod dead loop