modify expression of home path, ${HOME} doesn't work.