added agent purge for 1.8 / 2.0 packages and common
fixed typo in params