fixes webdriver issues