fixed fix for: data scaling bug when data range is [0, 1e-17]