Fix duplicate mappings.