fix split on nil