fixed problem of fetching package file.