s/min/max/ typo