fixes pages urls