homedir fix