fix newhash
fix newhash