error returning text field