made cms optional for the index tpl