cleanup + stats