fixed some typos to be able to run the director and agent