Hotfix: Fail on login with cast