Fix hash to link bug