agent fixes