fix header for potential leak