unify prepare_collector args