cleaning up view scopes