before freemarker