grid and appium fixes