fix with the text input not working