fixing the pages