Fix variable name

local variable named after different extension point to the one assigned
to it.