fix random test fail