fixed another small pagination bug