fix typo
convert array to hash