bugs fixed
bugs fixed in PythonSourceGenerator