fix change slider bug