non-logic change, just eliminate double-checking val
prevent logging duplicate links by keeping the last 100 logged