better handeling of empty splits