folded header sanitization for #19