fix template error
Merge pull request #7119 from andyque/fixTemplate

fix template error