remove dead snapshotting code