fix slider bug]