clean up view context