fix view names
use TemplateView for index