dipped in a mix of equal parts vinegar and baking soda, rinse again, and pop it back in. A clogged filter is often the real source of a lingering smell.
The bowl method
Make sure the dishwasher is completely empty.
Fill a heat-safe bowl with 1–2 cups of white vinegar and set it on the top rack.
Sprinkle a few tablespoons of baking soda across the bottom of the machine.
Run a full hot cycle, letting the steam carry the vinegar and baking soda into every corner.
Open the door