Fix provider registration