Fix issue #14 - reset is now working properly