mimes controller fix