added fix about window for ie