various hack day hacks to get things working better in the x-tags templates.