fix bug in hash.go and fblock.go