atom cleanup