bug fix related to smarty delimiters ("[[" and "]]")