Use correct pointer for de-referencing

due to a partial conversion to input_item