fix not check file exist bug