Fix for nested mime