Fix collectorFactories variable name