Small fix for text input