fix NPE in configManager