speed up view transactions by removing str() call