fix MathUtils.cpp after 01a75d5d