fix python executor error