h3d cleanup