empty contentWindow fix