Fix string.split errors