fixing bug with provider name