improved framework for ie.