fixing slider, adding key