Michael Bay and Megan Fox Michael Bay and Megan Fox

Michael Bay says Steven Spielberg told him to fire Megan Fox from the Transformers franchise after she told Wonderland magazine that the director "wants to be like Hitler on his sets."

"She was in a different world, on her BlackBerry. You gotta stay focused," Bay tells the July issue of GQ. "And you know, the Hitler thing. Steven said, 'Fire her right now.'"

Megan Fox: I chose to leave Transformers

Spielberg serves as executive producer on the movies, the third of which, Transformers: Dark of the Moon, hits theaters June 29. Fox was replaced by model

Rosie Huntington-Whiteley. Fox declined to comment for the story, but said last year that she chose to leave the franchise.Fellow Transformers star Shia LaBeouf agrees that Fox's comments were out of line. "Criticism is one thing," he tells GQ. "Then there's public name-calling, which turns into high school bashing. Which you can't do."

Transformers star Rosie Huntington-Whiteley tops Maxim's Hot 100

Bay, however, says "I know that's just Megan," so he wasn't hurt. "Megan loves to get a response," he says. "And she does it in the wrong way. I'm sorry, Megan. I'm sorry I made you work 12 hours. I'm sorry that I'm making you show up on time. Movies are not always warm and fuzzy."All apparently is forgiven now, as Bay says the two are on good terms."She sent me a text three months ago," he says. "She said, 'I hope you're doing well.' I responded, 'Who is this?' She goes, 'Megan, you dork!' I said, 'Oh, well, thank you, hope you're well.' When you're days and months on a set, it's like a family. You say rude things and you make up."