fix home-directory reference