fix missing math wrapper