modify rootpath