mime type issue fix