merge all pages into one