fix IE scope issue