modify text for input