removed defect with duplicate text field after adding new text