Issue fixed #942

https://github.com/appium/appium/issues/942