fix friendlyIframe flag