fix regression tests