fix 2 regression tests