fixed mcmath