- fix a minor bug in xhtml template