similar fix to used boost unordered map for unique keys