remove extra newline from header