fixed stupid splitstring issue; length zero elements are no longer produced