The rubber gasket needs some cleaning love, too.
Learn how to clean your washing machine without vinegar. Many washing machine brands recommend using chlorine bleach instead.