Fixing map type.