more fixed to generate_maps
pylinted