fixed some path problem