add newline at end of header