fix overrideMimeType