Fixed case checking for formats