fixed security template layout