bugfix at approximation