fixxed bug where items were not paging correctly