fixed the PyEval_RestoreThread error