Out actor Noah Galvin, the star of ABC's The Real O'Neals, said in an interview this week that he “messed up” in an interview he gave with Vulture.

In the interview, Galvin criticized several celebrities, including actors Eric Stonestreet and Colton Haynes and director Bryan Singer.

“That's not coming out,” he said in the interview about Haynes' coming out in Entertainment Weekly. “That's fucking pussy bullshit. That's like, 'Enough people assume that I sleep with men, so I'm just going to slightly confirm the fact that I've sucked a dick or two.' That's not doing anything for the little gays, but giving them more masturbation material.”

Galvin also criticized Stonestreet's portrayal of a gay man on Modern Family, calling it “a caricature of a caricature of a stereotype,” and repeated accusations made by two underage boys against Singer. The charges were later dropped in 2014.

“I totally recognize that I messed up in some ways,” Galvin told Variety.

“I'm just trying to learn from those mistakes and move forward and try to be a great advocate for the LGBT community,” he said. “The ultimate goal is to be a great actor and a great advocate.”

Galvin has previously apologized for his remarks.