fixes of prel as suggested by Daniel
Merge branch 'master' of https://github.com/subodhvsharma/paper-NPC