Fix map type.