added code to change pagelen for pullrequests