Empty input exit condition repositioned