fix strange exit for good try 2