fix error where text input showed up on line below current input line