resolved the addledger bug

The issus is resolved.