fix config path
implement retry