remove options from mime type before compare