cleaning up some stuff for ie