One solution is to add white wine vinegar to your wash, which can kill odor-causing bacteria and remove musty smells.