remove duplicate mappings on sync and on disable