Fixing fetchNextPage method