slider bug fix

slider bug fix