Fix config manager crash