removes duplicate mapping