Removing unused agent