fixing pages helper