fix sign out state