fix linkhash crash