fix reset for prev