Debuging and workaround for input_text()