fix some path problem