Revert change in createTemplateView.