changes for ie compatibility