Fixed the counter reset with is less than firs memory occurrence that appear some time.