stat processing clean up