Fix parse exception on text field