move to freemarker 2.3.20 and correct a wrong if statement