Fix bug check mime type
Fix bug check mime type