expanduser in config object