beautify the header