fix for slider issue #990