revert printAgent
//for test