previous commit was too aggressive, was eating the pagination variable