Credit reduction calculation is wrong.(LEV-52)
Fixed undefined variable error. Added debug to credit add description.(LEV-52)
Merge pull request #37 from opennode/LEV-52

Lev 52