fix the home path problem