approx bug fix