find logic bugs in hash_id(can't be repost)