trying to optimize the page path regen