fixed bug with overwriting variables by same named struct in MM engine