mime reader fixes