remove dependency to provider