fixed undefined name in MimeTypes.namedItem