bug in hash