Kaling said she “was not professional” on the phenomenally popular NBC series.

Her answer was simple: “Try not to laugh.”

TheLate Nightstar explained that having the costars that she did only made the problem worse.

Mindy Kaling

Mindy Kaling cowrote, coproduced and costarred on “The Office.".Dimitrios Kambouris/Getty

“I was not professional.”

Dimitrios Kambouris/Getty

Kaling’s character, Kelly Kapoor, was featured on all nine seasons of the NBC mockumentary.

He was played by Kaling’s real-life close friend and ex, B.J.

Steve Carell and Mindy Kaling

Mindy Kaling and Steve Carrell in “The Office”.Justin Lubin/NBCU Photo Bank/NBCUniversal via Getty

“In fact, I think I might be laughing on camera,” she continued.

Though the final new episode aired in 2013,The Officecontinues to bring in big ratings in reruns.

Production is expected to begin in July.

Daniels will be back for the spin-off, and Kaling approves: “Theyre in such good hands.”

Justin Lubin/NBCU Photo Bank/NBCUniversal via Getty

Someone whowon’t be returningis Carrell.

“I will be watching but I will not be showing up,” he toldThe Hollywood Reporterthis week.

But I’m excited about it, it sounds like a great conceit.

In addition to Gleeson, the new show will feature Sabrina Impacciatore fromThe White Lotus.