fixed python call