bug fixing, SplitString()