fixed crash when wrong user id provided