add destructor for policy