add missing index ption to template