bug fix - prevent empty link killing the hashing alogorithm - fixes issue #11