fixed exit cond tests