fix on slider bug