fixing bad agent name call