fix the computation of stock returns