fix template syntax breakage