CKE Restaurants (CKR), the parent company of Carl's Jr. and Hardee's fast-food restaurants, says it's pulling a character from a hamburger ad after receiving loud complaints from educators.

The ads feature a teacher who dances on her desk and touches her backside while rappers in the classroom talk about her "flat buns." The ad is for the new Patty Melt sandwich available at CKE's Carl's Jr. and Hardee's restaurants nationwide. The sandwich is served on flat-sided hamburger buns.

The president of the Tennessee Education Association calls the ad "demeaning."

CKE's executive vice president of marketing says the new ad will keep the rap song, which first debuted as a radio spot, but expel the teacher. CKE says the edited ad should be ready for distribution by tomorrow.