now building html with xexprs
bug fixing in xexpr generation