fix #1 Templating engine works only if template contains at least one logic operator