Clean templates for table/index