fix contract and journal print
Merge remote-tracking branch 'origin/master'