forgot to reset the counter