fix handle_pr params