print messages on single page, fix warning