repair t-input field