fix remove in legacy IE