compatibility: use oneline rescue
dom/element: use oneline rescue