Prevent duplicate chars