Logout-error-fix