Set index to fix overlapping labels