fixing issue with config when initialized with no config