cleaning up view transactions