BAgent

One more small fix.