fixing syntax in security template