fix unknown mime type errors