fixing MIME type and quotes