fix index template snippets