fix sign out bug