Fix template bug

bug fix
[ci skip]