changed index.tpl