Fixing a small bug in split