backwards compatibility fix for pyappium