bugfix in pn and work on paper