fixed already computed bug