some fixes regarding the Appium instantiation