init index add template to poe