apps/mimes fixes