[pyhton]fix issue with process then parend is empty