fix forest_match template