Fix indexing header