Cleanup analyze