dont write a check file if it fails