Configs loading bug fix