fix typo for map type