fix breaking std.hashmap bug that could cause entries to appear twice