work through agent cmd issues