Fixed bug in splitOn