trying to fix referrer https issue