Correction to calc recurciv