Fix spec fails randomly