change the package directory to the relative one