change exit state