Improvement

Slight improvement for accuracy on malformed files.