reset param object before creating edges, which prevents unused fields from being passed