Fix slider issue