possible memory corruption fixed
scope are now fixed
they are also pretty-printed at the end of parsing