catch type errors in handle_change_user_role