fixed early termination