fixing template index issue in windows
Merge pull request #99 from revathskumar/template-index

fixes #95