transaction model cleanup