fix bug with sliders