fix test fail on linux