Fixed undefined variable error. Added debug to credit add description.(LEV-52)