Fixed printing of header