check template before get property