Fixing mime type copy.