handling incorrect : and ,