Fixed exit condition