added fix for empty strings as cta urls