fix recompute