auto-reset after running.