hotfix for login bug