small fix in minionAgent