removes duplicate container