fixed some typos in the agent and directors dispatcher