fix test failure on new env