fixing reset (which didn't rollback anything) fixes #22