fixing dandelion.agent api