fix the check file