fix default index template issues