Fix stock values computations