Fix slider bug1