fix new method in mathHelper