Fix mime type compat