fix test run bug