fix check file