Fix wirenames mistmatches for templates