fixup capital letters, avoid empty flag in header