fixed pull apks function