fix values in range slider, max and min