fix referrer in widget rules