changed MA swap method in MA intersect