fix for vendor id creation