Fix badly named template variable