fix in template sensor thickness