apklib workaround