Fixed the HashNode class