fix printing of long documents and fix some other silly issue
bump v