fix handling of extops in the most naive way