fix typo and mapping definition