renames mime type field