Fix the problem for Linux and revise the path info