changed head in index