fix for mm 0.5.1