fixes mime