Minor fix, more concise way to split strings