make auto linking work on diff page