finalized last cleanup