better handling of undefined split argument