delete duplicate char