template sample style fix