withPage in fetch is persisted before used twice
fix a typo where pagecount accumulator still use the old name