fix file dose not exist bug.