Apply Rectangle3D, remove logs and comments