Fix mapping into array type error.