try to fix the bug that rerun test not worked