fixed crappy agent bug