fix header, add to index