fix bug with improperly allocated ClusterConfig struct