remove unnecessary mime type