fix defect in goagent