Fixed loadConfig fix