rehash() bug fix.