add more freemarker support