fix homedir reference