fix path,filename bug