remove method fixed for ie