fix test on Firefox