fixed some xptemplate supertab shenanigans