fixing cut ordering.