made some updates for newer IE