added a whole bunch of debug information, we are failing to create the agent map properly