fix handling of paging in url requests