flag text box reset