change iter_refs glob to be a positional argument