fix the indexAction template