fix agent matching

fix for probable change of export format