fix for ad external linking