fix nconfig loading issue