fix template formatter's Collapse