fix mime type issue