remove td when nodelete is true