fixed home path not expanding in node