minor template fixes