fixes some links in agent side.