fixed issue with slider.