fixing NaN bug in radius display