fix provider stub.