Removes the other leg's return and commented out lines