text field binding bug fix