Fixed issues when space is the only splitChar used