minor fix for slider