detect whether default provider must be added