Fix autoLink detection