check for multiple matching links