fixed issue with rangefinder