Change min for template