Resolve mixed content issue