Fix false continue bug