remove templates and index view