fix mixed content error