fix for equipmentfactory