text box bugfix