change the path of base-directory