fixed mistake with mime part building