fix home.dir