Improvement for header check
Remove png