fixed python issue