fix template syntax issue