fixed dicts in agent components
fixed dicts in agent components
minor error format change