fix an error cause by python.el