reset max count