fix regression test