fix ProjectPackage wrong function