fixes bug with text input aiight