more cleanup of some wonky stuff in the pagination class