minor template clean