Fix invalid hash type
Merge pull request #2034 from mattn/fix_hash_usage

Fix invalid hash type