rewrite to be dom-unrelative