fixed the package path invalid bug.