bug fix: reset on end for non-continuous use