fixed the code for the vendor change