Try and tidy up pages and rows