Fixed the crashes regarding the sliders