fix occasional test failure