fixed resets; fixes #82
better resets for code; fixes #85
version update