fixing Lot class.