fix for math update