correct early termination