fix error introduced with last get_input_value modification