restyle to index