Fix to calc_dc