fixed datapoints with same timestamp issue