Fix mixed content issues