fixed duplicated char