Better fix for split, using slices.