fix bug
for template check