fixes tests in firefox