fix test intermittence