fix mtest & regression
fix for mtest/measure