remove duplicate closing td tag