Fix empty referrer