global settings for template