fixed typo on provide method