fix TextBox recursive loop