Fix check in template