Fix element name in template