Remove duplication in map