fix get all providers implementation