snapshot before cleanup