Fix string hash.