fixed bug in appMor and pretty printer
wip
wip