small bug fix for invert on quantitative