Fixed bug in passing text_input field value