sep char function updated.