print header only once