add new regression tests
fix regression