added preservation to text field