cleanup of header