Fix a signout bug