fixed how to resolve template file
Merge pull request #2 from reekoheek/master

[OPTIMIZED] Fixed how to resolve template file