Fix header index