fixed NPE on configManager