fixing bug induced by magicmime update