fix for referrer tracking