tweaks in ulam.tmpl