fixed bug in doCreateDependentCredit