fixed bundle setup bug where bundle_groups is set twice