fixed bug in invert where terms where not being evar delta reduced