No-file stats error fix