resolving errors from regression tests