fixes bug in delimiterChar code