fix canonical_maps syntax