replace more emplace calls with insert