fix check_if_is_admin