removed unused variables accidentally introduced in stream_index_from_inputs()