remove dup char