fixed file not exist bug