Before anything else, always wipe down and clean off any leftover food residue left in any dishwasher safe container. Also, don’t be shy to toss out containers that aren’t meant to be re-used as they’ll warp in the dishwasher’s heat, and ones that show signs of damage, discoloration, or stains, it’ll only go downhill from there.