add reset table; fixes #291