Fix typos in agentcontrol