die if no matching tag was found