agent: small fix and note for later