Fix: reset was not properly implemented.