finalization before release