fix process setup that caused some tests to fail