# Fix typos in attributes

Have you ever added data to Customer.io and notice typos after the fact? You can create a campaign and use the *Create or Update Person* action to fix typos and make sure that future updates are clean and typo-free.

In this example, let’s say you have an attribute called `frist_name` that should be `first_name` instead.

## 1\. Create a segment to capture the misspelled attribute[](#1-create-a-segment-to-capture-the-misspelled-attribute)

Create a new segment that captures people with the misspelled attribute. In this case, we’re looking for people with a `frist_name` attribute.

[![create a segment to capture people with a misspelled attribute](https://docs.customer.io/images/fix-typo-segment.png)](#4b69ca530922f4e527ca304c273c9ff5-lightbox)

## 2\. Create a campaign using your segment[](#2-create-a-campaign-using-your-segment)

Use that segment as the trigger condition in a new campaign. If misspelled data is still coming into your workspace, make sure that your campaign is re-enterable, so that you fix the typo whenever it reoccurs. Since this campaign won’t send any messages, you’ll want it to “send” to unsubscribed people as well.

## 3\. Use *Create or Update Person* to fix the attribute[](#3-use-create-or-update-person-to-fix-the-attribute)

Drag the *Create or Update Person* action into your workflow. You’ll use this to set a correctly-spelled attribute and remove the old, misspelled attribute.

*   Set a new attribute with the correct name using the value from the misspelled attribute. In this case, we’ll create a `first_name` attribute using the value from the old `frist_name` attribute.
*   Remove the old, misspelled attribute.

[![Use the Create or Update Person action to replace the misspelled attribute](https://docs.customer.io/images/fix-typo-create-update-person.png)](#7e808114466da8b1c1742300f0b05f1c-lightbox)

## 4\. Start your campaign.[](#4-start-your-campaign)

On the review page, make sure you select **Current people and future additions**. This makes sure that your campaign corrects the typo for all your current people and will correct typos that come up in the future.

[![set your campaign to capture future people](https://docs.customer.io/images/campaign-match-current-future-people.png)](#7144bde96d817d627064a1530a5d794f-lightbox)