sign out bug fix