fix the error while a check file is not exists