fix a typo in metadata agent