migration to remove unnecessary strings