Fixed a bug on Header info extraction