fix ApplicationPackageManager