fix NPE on startup with empty configs