Fixed invalid allocation of network in profile instead of provider