support for ~ as home path