fix config lazy loading