fix the wrong data range