update for slider bug