fix call to provider