fix home dir issue