fix provider usage