improved link detection
3 files changed