removes duplicate table