Fixed bugs with sliders