fix broken provider snippet