Valide header name while calculate the index