fix slider issue