fixed bug in DoP freemaker template