rework util.template() a bit
Merge pull request #273 from hwhw/master

rework util.template() a bit