still not reloading, but correctly computing page number at least