Cleaning up index header