fix casting mm rels