fix change page counts