using packpath to resole root path