make template slimmer