fix for slider