finally corrected stupid paging bug, maybe