fix process_pullrequest