sometimes datafield resets text field. Fixed