turned off debugging, appears behavior for abnormal files is fixed.