LOS ANGELES (AP) — NBC and the guild that represents television performers said they are investigating Gabrielle Union’s allegation that she was fired as a judge on “America’s Got Talent” because she complained of racism and other on-set issues.

The Screen Actors Guild‐American Federation of Television and Radio Artists issued a statement Monday saying it is looking into the allegations.

“We take issues of workplace health and safety very seriously.” The Screen Actors Guild-American Federation of Television said in a statement. “We immediately reached out to Ms. Union’s representatives when these reports came to light ... While we have taken steps to investigate this matter, we have nothing to report now.”

The statement said such investigations and their results are usually kept confidential, unless the union member making the report wants it made public.

According to reports, Union, who is black, sought action to address an environment she said allowed racist jokes, comments and notes from producers along with other troubling behavior, including judge-producer Simon Cowell’s smoking indoors.

NBC, production company Fremantle and Cowell’s company Syco issued their own statement Sunday.

“We remain committed to ensuring a respectful workplace for all employees and take very seriously any questions about workplace culture,” the statement said. “We are working with Ms. Union through her representatives to hear more about her concerns, following which we will take whatever next steps may be appropriate.”

In a previous statement, the three companies said “America’s Got Talent” has a strong record of inclusivity, and judge turnover is common.

On her twitter account Monday, Union, without specifying who she was addressing, retweeted instructions on how to give a proper apology, which included sincerely admitting wrongdoing, correcting the mistake loudly, and laying out steps to correct future behavior.

She added the comment, “This! This! AND THIIISSSSSSS!!!!!!”

She had previously thanked fans, friends and family for their support on her social media accounts, in similarly vague terms.

Her reported firing became a cause for celebrities on Twitter, including Union’s husband, former NBA player Dwyane Wade.

Before landing the job on the talent showcase, Union was best known as an actress from films including “Bring It On” and “Bad Boys II.”

Union and another judge, Julianne Hough, were dropped from the show on Nov. 22 after one year, Variety reported.

The judging panel has changed since the show’s 2006 debut, but most judges’ tenures have lasted at least several years, including that of Sharon Osbourne, Mel B and Howard Stern.

On his SiriusXM radio show Monday, Stern, who left the show after four seasons in 2015, slammed Cowell, saying he “sets it up that the men stay, no matter how ugly they are, no matter how old they are, no matter how fat they are, no matter how talentless they are.”

Stern said it is “obvious” that the show consistently replaces female judges with younger and more attractive women.

___

Follow AP Entertainment Writer Andrew Dalton on Twitter: https://twitter.com/andyjamesdalton.