fixed bug with dropdown and slider