fix when slider is 0