[fix #20] template variable naming problem