fix agent/* calls to config/*