fix IE memory leak