fixed text boxes bug