fix bug: reset examples environment between multiple runs