fixup the bug when call PyQQ