make some change in supplier.js