homedir problems fixed