some fixes for slider