Fix wrong varname in provider class.