fix for index template compiling
Merge pull request #32 from fs/fix-for-index-file-compiling

fix for index template compiling