validate template code
Merge pull request #70 from ray176/validateTemplate

validate template code