Fix continue bug