fixed python samples