fixed python map