optionally remove hed/subhed, namespacing