Fixed typo on `provider` variable name