If the washer fills with bubbles, make sure that you use good-quality detergents. Adding half a cup of white vinegar to the washer should also help to keep the bubbles in check to a certain extent. With that said, check for leakage in the detergent dispenser as it may leak prematurely and cause foaming.