fix slider dependency issues