fixed bad input_name reference