Fixed new hash adding mechanism