Fix hireAgent