Fixing externalUrl bug