fix minor bug, valuation