fix for recalc of credit