calling split on undefined is naughty