Fix bug, update slices example