fix sign out issue