fix freemarker bug by replacing single quotes with double quotes