fixed MIMEType bug