little template fixes