use wd to set path