Rename the extension variable in template

as we already did in the defined type..