fixed missing close tag in index template