remove header and footer to print out's view