fix operate while not finished bug.