bug fixing for supplier and category