minor fix to m2