hash function fix.

rearrange fix.
Merge branch 'master' of https://github.com/ripvwinkle/db222