Fixed some issues in mimetypes