fixed continue bug