Fix issue with get provider