Not able to properly enter text into the input box