fix failing regression test