add doug's dcl.mix() workaround code