add support for unpaired tags