small template improvement