Minor fix (NoneType has no attribute split)