fixes to providers struct not an array