fix emplace_left and emplace_right