add IEsafe for margin largest