revert inconsistent math usage