fix primitive types in MapType