printing one page for every question instead of page