Fixing homedir reference