fixed duplicate TDs