fix unsecure content check for chrome