fix for regression tests