Fix crash with wrong user.