use ProviderInterface for consistency
fix typo