fix bug for hash,test by mingw4.7