make sequence restartable