Fixed config loading issue