fix issues (#46, #50). introduced by ast.parse of the new version of Pyt...

...hon3