solved textbox input issues