key hook using wrong user_id